<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <meta http-equiv="X-UA-Compatible" content="ie=edge">
    <title>Document</title>
</head>
<body>
    
</body>
<script>
    var millonSeconds = Date.parse('1970-01-02');
    console.log(millonSeconds);
    console.log(24*60*60*1000);
    //Date.getDay() 星期天 是0 所以可以用数组下标 0 放置星期天
    var weeks = ['星期天','星期一']; 
    //Date.getMonth() 取值范围 0-11
    (new Date()).getMonth();
</script>
</html>